<?php
class Admin extends Admincontroll{
    private $admin_menulogic;
    public function __construct() {
        $this->admin_menulogic=  $this->load("admin_menu");
    }
        //后台默认首页
    public function index(){
        $db=$this->admin_menulogic->select("*","is_display=1 and parent_id=0 order by sort desc");
        Temp::assign("noframe", true);
        Temp::assign("menulist", $db);
        Temp::display();
    }
}
